package edu.hnnu.sport_event.mapper;

import edu.hnnu.sport_event.entity.Admin;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AdminMapper {

    @Deprecated
    Admin select(String username);

    Admin selectById(int id);

    int insert(Admin admin);

    int update(Admin admin);

    String selectNameById(int id);

}
